package com.nineclock.system.service;

import com.nineclock.system.dto.SysChangeMainManagerDTO;
import com.nineclock.system.dto.SysCompanyUserDTO;
import com.nineclock.system.dto.SysDepartmentDTO;
import com.nineclock.system.dto.SysRegisterDTO;
import com.nineclock.system.easyexcel.ExcelMember;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;

public interface SysCompanyUserService {
    SysCompanyUserDTO queryCompanyManagerInfo();

    Boolean checkExists(String mobile);

    List<SysCompanyUserDTO> getCompanyUserList();

    void exchangeManager(SysChangeMainManagerDTO sysChangeMainManagerDTO);

    Integer addUser(SysRegisterDTO sysRegisterDTO);

    void parseExcel(MultipartFile excelFile) throws IOException;

    void importData(List<ExcelMember> list);

    Integer queryUserCountByDepartmentIds(List<Long> departmentIds);
}
